package com.sm.mnc.model;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.*;


/**
 * The persistent class for the EMP_DETAILS_VIEW database table.
 * 
 */
@Entity
@Table(name="EMP_DETAILS_VIEW")
public class EmpDetailsView implements Serializable {
	private static final long serialVersionUID = 1L;
	private String city;
	private BigDecimal commissionPct;
	private String countryId;
	private String countryName;
	private long departmentId;
	private String departmentName;
	private long employeeId;
	private String firstName;
	private String jobId;
	private String jobTitle;
	private String lastName;
	private long locationId;
	private long managerId;
	private String regionName;
	private long salary;
	private String stateProvince;

	public EmpDetailsView() {
	}


	@Column(nullable=false, length=30)
	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}


	@Column(name="COMMISSION_PCT", precision=2, scale=2)
	public BigDecimal getCommissionPct() {
		return this.commissionPct;
	}

	public void setCommissionPct(BigDecimal  commissionPct) {
		this.commissionPct = commissionPct;
	}


	@Column(name="COUNTRY_ID", length=2)
	public String getCountryId() {
		return this.countryId;
	}

	public void setCountryId(String countryId) {
		this.countryId = countryId;
	}


	@Column(name="COUNTRY_NAME", length=40)
	public String getCountryName() {
		return this.countryName;
	}

	public void setCountryName(String countryName) {
		this.countryName = countryName;
	}


	@Column(name="DEPARTMENT_ID", precision=4)
	public long getDepartmentId() {
		return this.departmentId;
	}

	public void setDepartmentId(long departmentId) {
		this.departmentId = departmentId;
	}


	@Column(name="DEPARTMENT_NAME", nullable=false, length=30)
	public String getDepartmentName() {
		return this.departmentName;
	}

	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

	@Id
	@Column(name="EMPLOYEE_ID", nullable=false, precision=6)
	public long getEmployeeId() {
		return this.employeeId;
	}

	public void setEmployeeId(long employeeId) {
		this.employeeId = employeeId;
	}


	@Column(name="FIRST_NAME", length=20)
	public String getFirstName() {
		return this.firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}


	@Column(name="JOB_ID", nullable=false, length=10)
	public String getJobId() {
		return this.jobId;
	}

	public void setJobId(String jobId) {
		this.jobId = jobId;
	}


	@Column(name="JOB_TITLE", nullable=false, length=35)
	public String getJobTitle() {
		return this.jobTitle;
	}

	public void setJobTitle(String jobTitle) {
		this.jobTitle = jobTitle;
	}


	@Column(name="LAST_NAME", nullable=false, length=25)
	public String getLastName() {
		return this.lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}


	@Column(name="LOCATION_ID", precision=4)
	public long getLocationId() {
		return this.locationId;
	}

	public void setLocationId(long locationId) {
		this.locationId = locationId;
	}


	@Column(name="MANAGER_ID", precision=6)
	public long getManagerId() {
		return this.managerId;
	}

	public void setManagerId(long managerId) {
		this.managerId = managerId;
	}


	@Column(name="REGION_NAME", length=25)
	public String getRegionName() {
		return this.regionName;
	}

	public void setRegionName(String regionName) {
		this.regionName = regionName;
	}


	@Column(precision=8, scale=2)
	public long getSalary() {
		return this.salary;
	}

	public void setSalary(long salary) {
		this.salary = salary;
	}


	@Column(name="STATE_PROVINCE", length=25)
	public String getStateProvince() {
		return this.stateProvince;
	}

	public void setStateProvince(String stateProvince) {
		this.stateProvince = stateProvince;
	}

}